// 录音库
.soundlibrary {
  position: relative;
  padding-top: 20px;
  $width: 200px;
  height: calc(100% - 90px);
  // background: orange;

  // 容器
  .ant-tabs-card {
    height: 100%;
    overflow: hidden;
    // 右侧列表
    .ant-tabs-content-holder {
      overflow: auto;
    }

    // 模板-左侧-标签tab
    .ant-tabs-nav {
      position: relative;
      padding: 60px 15px 15px;
      width: $width;
      min-height: 560px;
      background: #fff;

      // 模板-新增按钮
      .tab-add {
        position: absolute;
        top: 12px;
        left: 15px;
        width: $width - 30px;
        height: 35px;
      }
      // 模板-编辑、删除按钮
      .tab-edit,
      .tab-remove {
        position: absolute;
        top: 30px;
        right: 0;
        padding: 0;
        font-size: 17px;
        // color: #1890ff;
        color: rgb(94, 104, 113);
        &:hover {
          color: #1890ff;
        }
      }
      // 模板-编辑按钮
      .tab-edit {
        top: 6px;
      }
      // 模板-删除按钮
      .tab-remove {
        top: 33px;
      }

      .line {
        padding-bottom: 4px;
      }
      .pane-name {
        margin-bottom: 6px;
        font-size: 15px;
        line-height: 22px;
        max-width: 150px;
        height: 22px;
      }
      .create-name {
        max-width: 150px;
      }
      // 模板-正常tab
      .ant-tabs-tab {
        align-items: flex-start !important;
        padding: 0;
        height: 100px;
        font-size: 14px;
        vertical-align: top;
        border: none;
        background: #fff;
        transition: none;
        .ant-tabs-tab-btn {
          width: 100%;
          height: 100%;
          word-break: break-all;
          text-align: left;
          white-space: break-spaces;
          .tab-pane {
            width: 100%;
            height: 100%;
            padding: 8px 27px 10px 7px;
            border: 3px solid rgb(236, 239, 241) !important;
          }
          // 模板-编辑、删除按钮
          .tab-edit,
          .tab-remove {
            display: block;
          }
        }
      }
      // 模板-激活tab
      .ant-tabs-tab-active {
        .ant-tabs-tab-btn {
          color: #333;
          text-shadow: none;
          .tab-pane {
            padding: 8px 27px 10px 7px;
            // width: calc(100% - 6px);
            // height: calc(100% - 6px);
            border: 3px solid #1890ff !important;
          }
        }
      }
    }

    // 模板-右侧-标签内容
    .tab-pane-content {
      .tab-wrap {
        padding: 15px 15px 0;
        background: #fff !important;
      }
    }
  }
}
// 底部超出，影藏菜单显示-下拉滚动
.ant-tabs-dropdown-menu-item {
  position: relative;
  width: 200px;
  height: 90px;
  .pane-name {
    margin-bottom: 3px;
    width: 150px;
    height: 25px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .line {
    padding-bottom: 2px;
  }
  .tab-remove {
    position: absolute;
    top: 28px;
    right: 0;
  }
  .tab-edit {
    position: absolute;
    top: 0;
    right: 0;
  }
}

// 录音库-话术列表-样式

.sound-list-table {
  .ant-btn-link .anticon {
    padding: 0 4px;
    font-size: 22px;
  }
}
// 录音弹窗
.sound-record-title {
  .box {
    max-height: 150px;
    overflow-y: auto;
  }
}
.sound-record-box {
  height: 190px;
  // 录音-计时器
  .time-count {
    padding: 30px 0;
    font-size: 40px;
    line-height: 1.5;
    color: rgb(94, 104, 113);
    text-align: center;
  }
  // 录音-播放
  .audio-wrap {
    margin-bottom: 20px;
    text-align: center;
  }
  // 录音-按钮
  .btn-wrap {
    padding-top: 10px;
    width: 100%;
    justify-content: center;
    .ant-btn {
      margin: 0 20px;
    }
  }
  // 录音-播放进度条
  .playline {
    .time {
      margin: 2px 30px 9px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      span {
        font-size: 16px;
        // line-height: 22px;
        vertical-align: top;
        color: #999;
      }
    }
    .ant-progress {
      width: 90%;
      // padding: 0 20px;
    }
    .ant-progress-text {
      display: none;
    }
  }
}

// 录音库-空界面
.empty-wrap {
  position: absolute;
  top: 100px;
  left: 200px;
  width: calc(100% - 200px);
}
.upload-start {
  height: 40px;
}

// 录音库-提示框
.sound-tip {
  display: inline-block;
  max-width: 610px;
  .ant-alert {
    padding: 4px 10px;
  }
}
